package com.fjnu.service;

import com.fjnu.entity.Category;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CategoryService {
    int insert(Category category);
    int delete(Integer categoryId);
    List<Category> list();

    int add(Category category);
}
